package org.ru.mse10.cvis.test.integration;

import java.io.File;

public class JarResolver {

	public static File resolve(String groupId, String artifactId, String version) {
		String mavenRepo = System.getProperty("user.home") + File.separator + ".m2" + File.separator + "repository"
				+ File.separator;
		mavenRepo += groupId.replace(".", File.separator);
		mavenRepo += File.separator + artifactId + File.separator + version + File.separator + artifactId + "-"
				+ version + ".jar";
		return new File(mavenRepo);
	}
}
